body{
    min-width: 320px;
    max-width: 750px;
    margin: 0 auto;
    background-color: #f2f4f7;
}
a{
    text-decoration: none;
    color: #707070;
}
// 约束当屏幕大于750px的时候，html字体大小就不变化了
@media screen and (min-width: 750px) {
    html{
        font-size: 75px !important;
    }
}
.warp{
    background-color: #fff;
    padding-bottom: .573333rem;
}
.header{
    height: 1.066667rem;
    border-bottom: 1px solid #eaeaea;
    text-align: center;
    line-height: 1.066667rem;
    font-size: .466666rem;
    color: #1c1c1c;
}
.nav{
    display: flex;
    flex-wrap: wrap;
    padding: .6rem 0 .8rem 0;
    .item{
        display: flex;
        width: 33.33%;
        flex-direction: column;
        align-items: center;
        img{
            width: 1.853333rem;
            height: 1.853333rem;
        }
        span{
            font-size: .333334rem;
            color: #707070;
        }
        &:nth-child(-n+3){
            margin-bottom: .826667rem;
        }
    }
}
.go{
    margin: 0 .133333rem 0 .24rem;
    img{
        width: 100%;
    }
}
.content{
    padding: .533333rem .32rem;
    background-color: #fff;
    margin-top: .133333rem;
    .con-hd{
        display: flex;
        justify-content: space-between;
        height: .506667rem;
        line-height: .506667rem;
        margin-bottom: .453333rem;
        h4{
            // h标签会默认有一个margin值，所以给了行高还是没有垂直居中对齐，需要去掉margin
            margin: 0;
            font-size: .373333rem;
            color: #333;
            .icon{
                display: inline-block;
                width: .506667rem;
                height: .506667rem;
                vertical-align: middle;
                img{
                    width: .506667rem;
                    height: .506667rem;
                }
            }
        }
        .more{
            font-size: .293333rem;
            color: #999;
        }
    }
}
// 旋转木马轮播图
.get_job_focus{
    // 箭头部分从swiper-container旋转轮播部分中拿出来后需要给一个相对定位，因为箭头部分是用绝对定位来定位的，子绝父相
    position: relative;
    .swiper-container {
        height: 100%;
        // 根据需求把宽度改为54px
        width: 7.2rem;
      }
      .swiper-slide {
        text-align: center;
        font-size: .24rem;
        background: #fff;
  
        /* Center slide text vertically */
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        /* 竖向显示 */
        flex-direction: column;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        -webkit-align-items: center;
        align-items: center;
        transition: 300ms;
        /* 其他的缩放为原来的0.8 */
        transform: scale(0.8);
        /* 其他的透明度为0.4  opacity */
        opacity: 0.4;
        a{
            width: 4.506667rem;
            height: 5.013333rem;
            img{
                width: 100%;
                height: 100%;
            }
        }
        p{
            width: 4.506667rem;
            font-size: .333333rem;
            margin-top: .32rem;
            color: #333;
        }
      }
      }
      .swiper-slide-active/*active活动的意思，就是当前选中的，也就是中间那个*/,
      .swiper-slide-duplicate-active{
        // 缩放为原来的1倍
        transform: scale(1) !important;
        // 把层叠改成最高
        z-index: 999 !important;
        // opacity透明度为1
        opacity: 1 !important;
      }
/* 充电学习模块 */
.study_con{
    margin-bottom: 1.333333rem;
}
// 学习模块的轮播图
.study{
    .study_fo{
        // 给父盒子study_fo一个padding值，让子盒子swiper_slide的阴影显示出来
        padding: .133333rem 0;
    }
    .swiper-slide {
        text-align: center;
        font-size: .24rem;
        background: #fff;
        width: 3.866667rem;
        height: 4.533333rem;
        background-color: #fff;
        border-radius: .133333rem;
        box-shadow: 0 0 .133333rem rgba(0, 0, 0, .1);
        img{
            width: 3.866667rem;
            height: 2.066667rem;
            border-radius: .133333rem;
            margin-top: .133333rem;
        }
        h5{
            font-size: .346667rem;
            margin: .266667rem 0;
            font-weight: 400;
            text-align: left;
            padding: 0 .133333rem;
        }
        p{
            font-size: .346667rem;
            color: #ff4400;
            text-align: left;
            padding: 0 .133333rem;
        }
        span{
            color: #989998;
        }
      }
}
/* footer */
.footer{
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translate(-50%);
    width: 10rem;
    max-width: 750px;
    min-width: 320px;
    height: 1.2rem;
    padding-top: .133333rem;
    z-index: 999;
    display: flex;
    background-color: #fff;
    border-top: 1px solid #ccc;
    .item{
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        img{
            width: .52rem;
            height: .546667rem;
        }
        p{
            font-size: .293333rem;
            color: #666;
            margin: 0;
            margin-top: .133333rem;
        }
        &:nth-child(1) p{
            color: #91d1e6;
        }
    }
}